"Activist Disconnect: Social Movements, Public Opinion, and U.S. Military Bases in East Asia." Armed Forces and Society.Replication ArchiveClaudia J. Kim
Taylor C. Boas
July 25, 2019This replication archive contains files necessary to replicate the results in Claudia J. Kim and Taylor C. Boas, "Activist Disconnect: Social Movements, Public Opinion, and U.S. Military Bases in East Asia," Armed Forces and Society. Analysis was conducted in R 3.6.0 on MacOS 10.13.6. R files were run by opening each file, selecting all code, and sending it to the console, rather than by using source(). Please note that the following R packages must be installed in order to run the replication code: readxl, foreign, Hmisc. The replication starts with the raw survey data files. These are the files downloaded from Qualtrics, edited only to remove variables that would compromise privacy (IP Address and GeoIP location), are empty/non-varying, or have no analytical value (e.g., Qualtrics-generated respondent ID number). We also removed respondents who did not consent to the survey or were ineligible based on age, citizenship, self-declared residence outside of Kanagawa, Okinawa, Daegu, or Gyeonggi, or taking the survey from an IP address outside of Japan/South Korea. The file clean_dataset.R cleans and combines these raw survey data files and writes the file basedata_cleaned.RData to the main directory, which is subsequently used for analysis. For those who wish to skip this data cleaning step and only replicate the tables and figures, the file basedata_cleaned.RData is also included in the replication archive (it will be overwritten if you run clean_dataset.R). To replicate Appendix Figure 3-6 (in representativeness.R), the user will need to download the following publicly-available survey data files and place them in the replication folder prior to running the code. We have confirmed that the replication code works with the versions of these files downloaded on July 25, 2019. If the filenames downloaded in the future differ from those below, the data files may have changed, and some revision of the code may be necessary to replicate the published results. World Values Survey Wave 6, Japan: WV6_Data_Japan_2010_Spss_v20180912.savWorld Values Survey Wave 6, South Korea: WV6_Data_South_Korea_2010_Spss_v20180912.savThe archive reproduces all tables and figures from the main text and Appendix except for Table 1, which conveys the language of the experimental prompts, and Appendix Figure 1, which presents summary statistics from a separate content analysis. Figures are generated in the main directory as PDFs, and tables as .tex files. The correspondence between files and Figure/Table numbers is summarized below:Main text Figure 1: combo_att.pdfAppendix Figure 2: duration.pdfAppendix Figure 3: ideology.pdfAppendix Figure 4: petition.pdfAppendix Figure 5: boycott.pdfAppendix Figure 6: demonstration.pdfAppendix Figure 7: donation.pdfAppendix Figure 8: combo_beh.pdf
Appendix Figure 9: combo_att_screen.pdf
Appendix Figure 10: combo_beh_screen.pdf
Appendix Figure 11: h1_att.pdf
Appendix Figure 12: h2a_att.pdf
Appendix Figure 13: h3a_prag_att.pdf
Appendix Figure 14: h3a_ideol_att.pdf
Appendix Figure 15: h3a_nat_att.pdf
Appendix Figure 16: h4_att.pdf
Appendix Figure 17: conditional_effects_nocovar.pdf
Appendix Figure 18: conditional_effects_covar.pdf

Appendix Table 1: rep_table.texAppendix Table 2: n_tab.texAppendix Table 3: table_pure_att.texAppendix Table 4: table_reg_att.tex Appendix Table 5: table_pure_beh.texAppendix Table 6: table_reg_beh.texAppendix Table 7: table_att_inter.tex
To generate a single PDF document containing all of the properly-formatted (pre-publication) tables and figures from both the main text and Appendix, please compile the file replication.tex.The archive contains the following files:clean_dataset.R: Reads, cleans, and combines the raw survey data; writes the file basedata_cleaned.RData.
analysis.R: Conducts all analysis for the main text and appendix except for Appendix Figures 3-6 and 9-10 and Appendix Table 1.

screener_analysis.R: Reproduces Appendix Figures 9-10.

representativeness.R: Reproduces Appendix Table 1 and Appendix Figures 3-6.

japan_raw.RData: Japan raw survey data file.

korea_raw.RData: South Korea raw survey data file.

questionnaire_japan.pdf: Qualtrics-generated Japan survey questionnaire.

questionnaire_japan_english.pdf: Qualtrics-generated Japan survey questionnaire in English.

questionnaire_korea.pdf: Qualtrics-generated South Korea survey questionnaire.

questionnaire_korea_english.pdf: Qualtrics-generated South Korea survey questionnaire in English.

basedata_cleaned.RData: Cleaned and combined survey data file. If you run clean_dataset.R, this file will be overwritten with a new copy.

age_census_new.xlsx: Population of each region by age and sex from each country's 2015 census.
replication.tex: Compiling this will generate a PDF document with all of the tables and figures from both the main text and Appendix.readme.pdf: This file (PDF version).readme.txt: This file (text version).